
package AccionesSemanticas;

public class AccLastToCurrentState implements AccSemantica {

    private int[] lastState;
    private int currentState;
    
    public AccLastToCurrentState(int[] lastState, int currentState){
        this.lastState = lastState;
        this.currentState = currentState;
    }
    
    public String doAction() {
        this.lastState[0] = this.currentState;
        return null;
    }
    
}
